package cn.credit.loan.service.grant;

import cn.credit.loan.entity.Grant;
import cn.credit.loan.entity.Manager;

/**
 * 发放员业务层接口
 * @author Administrator
 *
 */
public interface GrantService {
	
	/**
	 * 发放专员登录
	 * @param grantName
	 * @param grantPwd
	 * @return
	 */
	public Grant grantlogin(String grantName,String grantPwd);
	
	/**
	 * 添加发放员
	 * @param manager
	 * @return
	 * @throws Exception
	 */
	public boolean grantadd(Grant grant)throws Exception;
	/**
	 * 更新发放员
	 * @param manager
	 * @return
	 * @throws Exception
	 */
	public boolean grantupdate(Grant grant)throws Exception;
	/**
	 * 删除发放员
	 * @param manager
	 * @return
	 * @throws Exception
	 */
	public boolean grantdelete(int grantId)throws Exception;
	
	

}
